{% extends "music/base_music.html" %}


{% block title %}{{ object.full_title }}{% endblock %}


{% block content %}
  {% load markup %}
  
  <h2 class="page_title">{{ object.full_title }}
    <em class="sub_title"><a href="{{ object.band.get_absolute_url }}">{{ object.band.full_title }}</a></em></h2>
  
  {% if object.cover %}
  <a class="cover" href="{{ object.amazon_url }}"><img src="{{ object.cover_url }}" alt="Album cover"></a>
  {% else %}
  <div class="no_cover"></div>
  {% endif %}
  
  <ul class="details">
    <li>Label: <a href="{{ object.label.get_absolute_url }}">{{ object.label.full_title }}</a></li>
    <li>Released: {{ object.released|date:"d F Y" }}</li>
    <li>Genre: {% for genre in object.genre.all %}{{ genre.title }}{% if not forloop.last %}, {% endif %}{% endfor %}</li>
    <li>ASIN: {{ object.asin }} (<a href="{{ object.amazon_url }}">Amazon</a>)</li>
  </ul>
  
  {% if object.review %}
  <div class="review">
    <h3>Review</h3>
    {{ object.review|markdown }}
  </div>
  {% endif %}
  
{% endblock %}